Clean up Nix configuration and remove unused paths - #5
Conversation
Major cleanup of deprecated and unused configurations: Removed deprecated systems: - singapore (gaming desktop) - full system config removed - austria (Asahi Linux) - full system config + apple-silicon-support removed Removed ~30 orphaned daemon service files: - Individual arr services (sonarr, radarr, lidarr, etc.) - superseded by containerized arr.nix - Unused services (firefly-iii, gitea, home-assistant, immich, nextcloud, etc.) - Torrent clients (deluge, transmission) - using containerized version - Other unused (stash, altserver, distrobox, invidious, pihole, etc.) Removed unused CLI/desktop programs: - ollama.nix, spicetify.nix (never imported) - alacritty.nix, chrome.nix, hyprlock.nix, suyu.nix (alternatives exist) Cleaned up flake.nix: - Removed unused inputs: llama-cpp, base16, spicetify-nix, nixos-apple-silicon - Removed commented-out singapore and austria system definitions Re-enabled on china (home server): - system.autoUpgrade (daily at 03:00 from GitHub) - jpyke3.scheduleReboot (daily at 03:00) Updated CLAUDE.md to reflect current state of repository.
Pull Request Review: Clean up Nix configuration and remove unused pathsSummaryThis is an excellent cleanup PR that removes significant technical debt from the repository. The changes are well-organized and properly documented in the PR description. ✅ Strengths
🔍 Code Quality & Best PracticesExcellent:
|
| Aspect | Rating | Notes |
|---|---|---|
| Code Quality | ⭐⭐⭐⭐⭐ | Clean, thorough removal |
| Documentation | ⭐⭐⭐⭐⭐ | CLAUDE.md properly updated |
| Best Practices | ⭐⭐⭐⭐⭐ | Follows Nix conventions |
| Security | ✅ | No concerns |
| Testing | Needs build verification | |
| Impact | 🎯 High | Significant maintainability improvement |
✅ Recommendation: APPROVE with minor verification
This PR is ready to merge after verifying:
- All active systems build successfully
- CI pipeline doesn't reference removed systems
- No remaining imports of deleted service files
Great work on this cleanup! Removing 10k+ lines of unused code is a major win for repository maintainability.
📝 Commit Message Suggestion
If you want to follow conventional commits style:
chore: remove deprecated systems and unused service configurations
- Remove singapore (gaming desktop) and austria (Asahi Linux) systems
- Remove ~30 orphaned daemon service files superseded by containerized arr.nix
- Clean up unused flake inputs (llama-cpp, base16, spicetify-nix, etc.)
- Re-enable china server auto-upgrade and scheduled reboot
- Update CLAUDE.md to reflect current repository state
BREAKING CHANGE: singapore and austria system configurations removed
Review completed. Feel free to reach out if you have questions about any of these recommendations!
The singapore system was removed in the cleanup, but Syncthing configs still referenced it as a device. Renamed all references to use norway (the primary laptop) instead. Also removed stale "netherlands" device references from Documents and Development folder configs.
Code Review: Clean up Nix configuration and remove unused pathsSummaryThis is an excellent cleanup PR that removes ~10,500 lines of dead code while improving maintainability. The changes align well with the repository's current infrastructure direction (containerized services via ✅ Strengths1. Comprehensive Dead Code Removal
2. Infrastructure Improvements
3. Documentation Accuracy
4. Clean Git History
|
Resolves conflict with shared configuration.nix which sets allowReboot = false
Code Review: Clean up Nix configuration and remove unused pathsSummaryThis is a well-executed cleanup PR that removes a substantial amount of deprecated code (~10,400 lines deleted vs 38 added). The changes align with the repository's current state and properly document the active infrastructure. ✅ Strengths1. Thorough Cleanup
2. Good Documentation
3. Correct Syncthing Migration
4. Proper lib.mkForce Usage
|
- Removed hyprlock.nix import from hyprland.nix - Removed hyprlock package from unstable-packages.nix
PR Review: Cleanup Nix ConfigurationSummaryThis is an excellent cleanup PR that removes significant technical debt from the repository. The changes are well-documented and align with the current infrastructure state. ✅ Strengths1. Comprehensive Cleanup
2. Documentation Updates
3. Re-enabled Critical Features
4. Code Quality
|
Major cleanup of deprecated and unused configurations:
Removed deprecated systems:
Removed ~30 orphaned daemon service files:
Removed unused CLI/desktop programs:
Cleaned up flake.nix:
Re-enabled on china (home server):
Updated CLAUDE.md to reflect current state of repository.